.recommend-section {
  margin: 32px 0;
}

.recommend-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
}

.recommend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -30px;
}

.recommend-more {
  background: none;
  border: none;
  color: #7d5233;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
}
.recommend-more:hover {
  color: #ff7f50;
  text-decoration: underline;
}
.recommend-section.single {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;

  margin-top: 200px;
}
.recommend-list-wrapper {
  width: 100%;
  overflow-x: hidden;
  min-width: 0;
  position: relative;
  height: 220px; /* 适配你的卡片高度 */
}

.recommend-list {
  display: flex;
  gap: 20px;
  min-width: fit-content;
  width: max-content;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  pointer-events: none;
}
.recommend-list > * {
  pointer-events: auto; /* 允许卡片点击 */
}
.recommend-list::-webkit-scrollbar {
  display: none;
}

.recommend-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.recommend-carousel.multi {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 320px;
  gap: 20px;
  flex-wrap: nowrap;
}

.recommend-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e9ecef;
  width: 180px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recommend-card:hover {
  box-shadow: 0 4px 16px rgba(0,123,255,0.12);
}

.recommend-card.single {
  width: 320px;
  height: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e9ecef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.recommend-card.multi {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  width: calc((100% - 6 * 20px) / 7);
  height: 260px;
  background: #f1f5ff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1.5px solid #e9ecef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: box-shadow 0.2s;
}
.recommend-card.multi:hover {
  box-shadow: 0 6px 24px rgba(0,123,255,0.10);
}

.recommend-img {
  width: 80%;
  height: 200px;
  object-fit: cover;
  background: #f5f5f5;
  /* border-top-left-radius: 20px; */
  /* border-top-right-radius: 20px; */
}

.recommend-info {
  padding: 12px 10px 16px 10px;
  width: 100%;
}

.recommend-info.single {
  width: 100%;
  padding: 12px 16px 16px 16px;
  text-align: left;
}

.recommend-info.multi {
  width: 100%;
  padding: 16px 14px 18px 14px;
  text-align: left;
}

.recommend-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-card-desc {
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 70px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #e9ecef;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 26px;
  color: #7d5233;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s;
}
.recommend-arrow.left {
  left: 0;
}
.recommend-arrow.right {
  right: 0;
}
.recommend-arrow:hover {
  background: #fce3d0;
  color: #ff7f50;
  opacity: 1;
} 
.recommend-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.recommend-pagination button {
  border: none;
  background: #f1f5ff;
  color: #2260ff;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.recommend-pagination button.active,
.recommend-pagination button:hover:not(:disabled) {
  background: #2260ff;
  color: #fff;
}
.recommend-pagination button:disabled {
  background: #e9ecef;
  color: #aaa;
  cursor: not-allowed;
} 